﻿NExt.UI.Base.Right.ReportRightSetter = Ext.extend(NExt.UI.Base.Right.RightSetter, {
    isEnabled: function(action) {

        if (NExt.UI.Base.Right.Action.New === action)
            return false;

        if (NExt.UI.Base.Right.Action.Open === action)
            return false;

        if (NExt.UI.Base.Right.Action.Edit === action)
            return false;

        if (NExt.UI.Base.Right.Action.Delete === action)
            return false;
    }
});